limit with a function as a complex fraction